home *** CD-ROM | disk | FTP | other *** search
/ Giga Games 1 / Giga Games.iso / net / usenet / volume5 / landmine < prev    next >
Encoding:
Internet Message Format  |  1988-09-21  |  19.9 KB

  1. Path: uunet!tektronix!tekgen!tekred!games
  2. From: games@tekred.TEK.COM
  3. Newsgroups: comp.sources.games
  4. Subject: v05i067:  landmine - hidden land mines in SunView (Suns only)
  5. Message-ID: <3062@tekred.TEK.COM>
  6. Date: 21 Sep 88 20:17:46 GMT
  7. Sender: billr@tekred.TEK.COM
  8. Lines: 526
  9. Approved: billr@saab.CNA.TEK.COM
  10.  
  11. Submitted by: Rick Schneider <rick@vsi1.uucp>
  12. Comp.sources.games: Volume 5, Issue 67
  13. Archive-name: landmine
  14.  
  15.     [Works as advertised on my Sun 3/60M, but it is a real CPU hog.  -br]
  16.  
  17. #! /bin/sh
  18. # This is a shell archive.  Remove anything before this line, then unpack
  19. # it by saving it into a file and typing "sh file".  To overwrite existing
  20. # files, type "sh file -c".  You can also feed this as standard input via
  21. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  22. # will see the following message at the end:
  23. #        "End of shell archive."
  24. # Contents:  README Makefile land_mine.c broken_window1.i
  25. #   broken_window2.i broken_window3.i broken_window4.i
  26. # Wrapped by billr@saab on Wed Sep 21 13:15:21 1988
  27. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  28. if test -f 'README' -a "${1}" != "-c" ; then 
  29.   echo shar: Will not clobber existing file \"'README'\"
  30. else
  31. echo shar: Extracting \"'README'\" \(989 characters\)
  32. sed "s/^X//" >'README' <<'END_OF_FILE'
  33. X     Land Mine is a program that creates random "mines" on a SunView 
  34. X     screen.  I got the idea for this about a year ago when someone
  35. X     ran the "termite" program on my sun.  I swore to get "even" and
  36. X     eventually, when I found the time, I wrote this code.
  37. X
  38. X     The number of land mines generated by this program is determined
  39. X     by a define near the top of the C file.  If you want more than
  40. X     150 mines, increase the number for the NUM_MINES define.  By 
  41. X     increasing the number of mines however, you will cause the system 
  42. X     to slow down considerably!  If you want a larger "hit" area, 
  43. X     increase the PIXEL_AREA define.  Inceasing this number will not
  44. X     change the speed at which the workstation is performing.
  45. X
  46. X     Thanks to Chuck Musciano of Harris and his "eyecon" program for 
  47. X     showing an easy way to determine mouse location.
  48. X
  49. X
  50. X     Rick Schneider
  51. X     Vicom Systems Inc.
  52. X     2520 Junction Ave
  53. X     San Jose, California, 95134
  54. X     (408) 432-8660
  55. END_OF_FILE
  56. if test 989 -ne `wc -c <'README'`; then
  57.     echo shar: \"'README'\" unpacked with wrong size!
  58. fi
  59. # end of 'README'
  60. fi
  61. if test -f 'Makefile' -a "${1}" != "-c" ; then 
  62.   echo shar: Will not clobber existing file \"'Makefile'\"
  63. else
  64. echo shar: Extracting \"'Makefile'\" \(184 characters\)
  65. sed "s/^X//" >'Makefile' <<'END_OF_FILE'
  66. X
  67. Xland_mine:     land_mine.c
  68. X        cc -O -o land_mine land_mine.c -lsuntool -lsunwindow -lpixrect
  69. Xland_mine.o:     broken_window1.i \
  70. X        broken_window2.i \
  71. X        broken_window3.i \
  72. X        broken_window4.i
  73. END_OF_FILE
  74. if test 184 -ne `wc -c <'Makefile'`; then
  75.     echo shar: \"'Makefile'\" unpacked with wrong size!
  76. fi
  77. # end of 'Makefile'
  78. fi
  79. if test -f 'land_mine.c' -a "${1}" != "-c" ; then 
  80.   echo shar: Will not clobber existing file \"'land_mine.c'\"
  81. else
  82. echo shar: Extracting \"'land_mine.c'\" \(7292 characters\)
  83. sed "s/^X//" >'land_mine.c' <<'END_OF_FILE'
  84. X/******************************************************************************/
  85. X/***                                                                        ***/
  86. X/**                                LAND MINE                                 **/
  87. X/*                                                                            */
  88. X/*    This program randomly generates  NUM_MINES number of points on a        */
  89. X/*    SunView monitor.  When the mouse on the Sun Workstation comes within    */
  90. X/*    PIXEL_AREA pixels of one of the "land mines", an animated sequence of   */
  91. X/*    icons are generated to simulate an explosion at that location.  A new   */
  92. X/*    set of coordinates are generated to replace the "exploded" location.    */
  93. X/*    The number of "mines" to set is up to the person that compiles the      */
  94. X/*    program, the more "mines" that are present the greater the occurrance   */
  95. X/*    of "explosions", however, the greater the number of "mines", more CPU   */
  96. X/*    time will be wasted on checking the mouse location.                     */
  97. X/*                                                                            */
  98. X/*    I make no waranty, have no responsibility, and have no regrets in       */
  99. X/*    distributing this software.  If you use it, it's your problem!          */
  100. X/*    Just to make sure its legal (Thanks to the legal department):           */
  101. X/*                                                                            */
  102. X/*                     Copyright (C) 1988 Rick Schneider                      */
  103. X/*                                                                            */
  104. X/*    Even though this code is mine, the algorithm for setting up the sun was */
  105. X/*    was lifted from "eyecon" developed by Chuck Musciano of Harris so his   */
  106. X/*    copyright notice and disclaimer appear here as well:                    */
  107. X/*                                                                            */
  108. X/*    Copyright 1988 by Chuck Musciano and Harris Corporation              */
  109. X/*                                          */
  110. X/*    Permission to use, copy, modify, and distribute this software          */
  111. X/*    and its documentation for any purpose and without fee is          */
  112. X/*    hereby granted, provided that the above copyright notice          */
  113. X/*    appear in all copies and that both that copyright notice and          */
  114. X/*    this permission notice appear in supporting documentation, and          */
  115. X/*    that the name of Chuck Musciano and Harris Corporation not be          */
  116. X/*    used in advertising or publicity pertaining to distribution          */
  117. X/*    of the software without specific, written prior permission.          */
  118. X/*    Chuck Musciano and Harris Corporation make no representations          */
  119. X/*    about the suitability of this software for any purpose.  It is          */
  120. X/*    provided "as is" without express or implied warranty.              */
  121. X/**                                                                          **/
  122. X/***                                                                        ***/
  123. X/******************************************************************************/
  124. X
  125. X#include <stdio.h>
  126. X#include <suntool/sunview.h>
  127. X#include <suntool/canvas.h>
  128. X#include <suntool/fullscreen.h>
  129. X#include <sys/file.h>
  130. X#include <sys/time.h>
  131. X
  132. X#define NUM_MINES        10
  133. X#define    PIXEL_AREA        5
  134. X
  135. X#define    OR            ( PIX_SRC | PIX_DST )
  136. X#define    XOR            ( PIX_SRC ^ PIX_DST )
  137. X#define    SLEEP_TIME        250000
  138. X#define DEFAULT_DEVICE        "/dev/fb"
  139. X
  140. Xstatic short broken1_bits[] = 
  141. X{
  142. X#include "broken_window1.i"
  143. X};
  144. X
  145. Xstatic short broken2_bits[] = 
  146. X{
  147. X#include "broken_window2.i"
  148. X};
  149. X
  150. Xstatic short broken3_bits[] = 
  151. X{
  152. X#include "broken_window3.i"
  153. X};
  154. X
  155. Xstatic short broken4_bits[] = 
  156. X{
  157. X#include "broken_window4.i"
  158. X};
  159. X
  160. Xmpr_static( broken1, 64, 64, 1, broken1_bits );
  161. Xmpr_static( broken2, 64, 64, 1, broken2_bits );
  162. Xmpr_static( broken3, 64, 64, 1, broken3_bits );
  163. Xmpr_static( broken4, 64, 64, 1, broken4_bits );
  164. X
  165. X
  166. Xchar *device = NULL;
  167. Xstruct pixrect *background;
  168. Xstatic struct pixrect *broken;
  169. Xstatic int desktop_fd;
  170. X
  171. Xint last_x = -1;
  172. Xint last_y = -1;
  173. X
  174. Xtypedef struct s_loc
  175. X{
  176. X    short x;
  177. X    short y;
  178. X} loc;
  179. X
  180. Xloc *mine_list;
  181. X
  182. X
  183. Xloc
  184. X*init_mine_list( )
  185. X{
  186. X    loc *list;
  187. X    loc *list_ptr;
  188. X    int i;
  189. X
  190. X    /* allocate list array structure */
  191. X
  192. X    list = ( loc * )calloc( NUM_MINES, sizeof(*list) );
  193. X
  194. X    if ( list == NULL )
  195. X    {
  196. X    fprintf( stderr, "unable to allocate land mine list\n" );
  197. X    exit(0);
  198. X    }
  199. X
  200. X    list_ptr = list;
  201. X
  202. X    srand( getpid( ) );
  203. X
  204. X    for ( i = 0; i < NUM_MINES; i++ )
  205. X    {
  206. X    list_ptr->x = ( rand( ) % 1100 );
  207. X    list_ptr->y = ( rand( ) % 900 );
  208. X
  209. X    list_ptr++;
  210. X    }
  211. X    return( list );
  212. X}
  213. X
  214. Xint
  215. Xfound_land_mine( x, y, list )
  216. Xshort x;
  217. Xshort y;
  218. Xloc *list;
  219. X{
  220. X    int i;
  221. X
  222. X    /* search the land mine list for an occurance of this location */
  223. X
  224. X    for ( i = 0; i < NUM_MINES; i++ )
  225. X    {
  226. X    if ( ( ( x - PIXEL_AREA <= list[i].x ) && 
  227. X           ( y - PIXEL_AREA <= list[i].y ) ) &&
  228. X         ( ( list[i].x <= x + PIXEL_AREA ) && 
  229. X           ( list[i].y <= y + PIXEL_AREA ) ) )
  230. X    {
  231. X        /* found a mine, generate a new (x,y) and return TRUE */
  232. X
  233. X        list[i].x = ( rand( ) % 1100 );
  234. X        list[i].y = ( rand( ) % 900 );
  235. X
  236. X        return( TRUE );
  237. X    }
  238. X    }
  239. X
  240. X    /* no mine found at current possition, return FALSE */
  241. X
  242. X    return( FALSE );
  243. X}
  244. X
  245. Xvoid
  246. Xmine_proc( )
  247. X{    
  248. X    int x;
  249. X    int y;
  250. X
  251. X    x = win_get_vuid_value( desktop_fd, LOC_X_ABSOLUTE );
  252. X    y = win_get_vuid_value( desktop_fd, LOC_Y_ABSOLUTE );
  253. X
  254. X    if ( ( x != last_x ) || ( y != last_y ) )
  255. X    {
  256. X        if ( found_land_mine( x,y,mine_list ) )
  257. X        {
  258. X        pr_rop( background, 
  259. X            x - ( broken1.pr_width/2 ), 
  260. X            y - ( broken1.pr_height/2 ), 
  261. X            broken1.pr_width,
  262. X            broken1.pr_height, 
  263. X            OR, 
  264. X            &broken1, 
  265. X            0, 
  266. X            0 );
  267. X
  268. X            usleep( SLEEP_TIME );
  269. X
  270. X        pr_rop( background, 
  271. X            x - ( broken2.pr_width/2 ), 
  272. X            y - ( broken2.pr_height/2 ), 
  273. X            broken2.pr_width,
  274. X            broken2.pr_height, 
  275. X            OR, 
  276. X            &broken2, 
  277. X            0, 
  278. X            0 );
  279. X
  280. X            usleep( SLEEP_TIME );
  281. X
  282. X        pr_rop( background, 
  283. X            x - ( broken3.pr_width/2 ), 
  284. X            y - ( broken3.pr_height/2 ), 
  285. X            broken3.pr_width,
  286. X            broken3.pr_height, 
  287. X            OR, 
  288. X            &broken3, 
  289. X            0, 
  290. X            0 );
  291. X
  292. X            usleep( SLEEP_TIME );
  293. X
  294. X        pr_rop( background, 
  295. X            x - ( broken4.pr_width/2 ), 
  296. X            y - ( broken4.pr_height/2 ), 
  297. X            broken4.pr_width,
  298. X            broken4.pr_height, 
  299. X            XOR, 
  300. X            &broken4, 
  301. X            0, 
  302. X            0 );
  303. X        }
  304. X        last_x = x;
  305. X        last_y = y;
  306. X    }
  307. X}
  308. X
  309. Xmain( argc, argv )
  310. Xint argc;
  311. Xchar **argv;
  312. X{
  313. X    char *parent;
  314. X    char *program;
  315. X    char *getenv( );
  316. X
  317. X    strcpy( program = ( char * )malloc( strlen( argv[0] ) + 1 ), 
  318. X        argv[0] );
  319. X    if ( ( parent = ( char * ) getenv( "WINDOW_PARENT" ) ) == NULL ) 
  320. X    {
  321. X        fprintf( stderr, 
  322. X     "The Sun must be running Suntools inorder to run this program\n");
  323. X        exit( 1 );
  324. X    }
  325. X    if ( ( desktop_fd = open( parent, O_RDWR ) ) == -1 ) 
  326. X    {
  327. X        fprintf( stderr, 
  328. X         "%s: could not access desktop window device: %s\n", 
  329. X         program, parent);
  330. X        exit( 1 );
  331. X    }
  332. X
  333. X    if ( !( device ) && !( device = getenv( "DEV_FB" ) ) )
  334. X        device = DEFAULT_DEVICE;
  335. X
  336. X    if ( ! ( background = pr_open( device ) ) )
  337. X        exit(1); 
  338. X
  339. X    we_setparentwindow( "/dev/win0" );
  340. X    we_setgfxwindow( "/dev/win3" );
  341. X
  342. X    mine_list = init_mine_list( );
  343. X    while( 1 )
  344. X    {
  345. X        mine_proc( );
  346. X    }
  347. X}
  348. X
  349. END_OF_FILE
  350. if test 7292 -ne `wc -c <'land_mine.c'`; then
  351.     echo shar: \"'land_mine.c'\" unpacked with wrong size!
  352. fi
  353. # end of 'land_mine.c'
  354. fi
  355. if test -f 'broken_window1.i' -a "${1}" != "-c" ; then 
  356.   echo shar: Will not clobber existing file \"'broken_window1.i'\"
  357. else
  358. echo shar: Extracting \"'broken_window1.i'\" \(1933 characters\)
  359. sed "s/^X//" >'broken_window1.i' <<'END_OF_FILE'
  360. X/* Format_version=1, Width=64, Height=64, Depth=1, Valid_bits_per_item=16
  361. X */
  362. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  363. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  364. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  365. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  366. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  367. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  368. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  369. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  370. X    0x0000,0x0005,0x3000,0x0000,0x0000,0x0005,0x3400,0x0000,
  371. X    0x0000,0x0060,0x0A00,0x0000,0x0000,0x0101,0x20C0,0x0000,
  372. X    0x0000,0x0229,0x24A0,0x0000,0x0000,0x0010,0x0100,0x0000,
  373. X    0x0000,0x0841,0x1308,0x0000,0x0000,0x1000,0x4004,0x0000,
  374. X    0x0000,0x0808,0x0408,0x0000,0x0000,0x2200,0x4026,0x0000,
  375. X    0x0000,0x4800,0x0818,0x0000,0x0000,0x6040,0x0040,0x0000,
  376. X    0x0000,0x0C20,0x0003,0x0000,0x0000,0xC080,0x002D,0x8000,
  377. X    0x0000,0x0100,0x0100,0x0000,0x0000,0xDA00,0x006D,0x8000,
  378. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  379. X    0x0000,0xC300,0x0005,0x8000,0x0000,0x1800,0x0088,0x0000,
  380. X    0x0000,0x4000,0x0013,0x0000,0x0000,0x2410,0x0058,0x0000,
  381. X    0x0000,0x0024,0x1023,0x0000,0x0000,0x2040,0x0000,0x0000,
  382. X    0x0000,0x1208,0x0806,0x0000,0x0000,0x0105,0x0000,0x0000,
  383. X    0x0000,0x0801,0x0088,0x0000,0x0000,0x0430,0x0000,0x0000,
  384. X    0x0000,0x0229,0x1290,0x0000,0x0000,0x0041,0x2040,0x0000,
  385. X    0x0000,0x0050,0x0900,0x0000,0x0000,0x0015,0x2A00,0x0000,
  386. X    0x0000,0x0005,0x2000,0x0000,0x0000,0x0000,0x0000,0x0000,
  387. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  388. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  389. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  390. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  391. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  392. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  393. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  394. END_OF_FILE
  395. if test 1933 -ne `wc -c <'broken_window1.i'`; then
  396.     echo shar: \"'broken_window1.i'\" unpacked with wrong size!
  397. fi
  398. # end of 'broken_window1.i'
  399. fi
  400. if test -f 'broken_window2.i' -a "${1}" != "-c" ; then 
  401.   echo shar: Will not clobber existing file \"'broken_window2.i'\"
  402. else
  403. echo shar: Extracting \"'broken_window2.i'\" \(1933 characters\)
  404. sed "s/^X//" >'broken_window2.i' <<'END_OF_FILE'
  405. X/* Format_version=1, Width=64, Height=64, Depth=1, Valid_bits_per_item=16
  406. X */
  407. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  408. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  409. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  410. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  411. X    0x0000,0x000B,0x5800,0x0000,0x0000,0x0050,0x0580,0x0000,
  412. X    0x0000,0x030B,0x5860,0x0000,0x0000,0x082B,0x5B10,0x0000,
  413. X    0x0000,0x2320,0x02C6,0x0000,0x0000,0x458B,0x58AA,0x0000,
  414. X    0x0000,0x580D,0x361D,0x0000,0x0000,0x2890,0x054A,0x0000,
  415. X    0x0000,0x54C0,0x0136,0x2000,0x0002,0x2A00,0x0070,0x9000,
  416. X    0x000D,0x9000,0x0009,0x1000,0x000A,0x0800,0x0002,0xC800,
  417. X    0x0013,0x2000,0x0005,0x3000,0x0004,0xC000,0x0002,0x2400,
  418. X    0x0028,0x4000,0x0001,0x9A00,0x000C,0x0000,0x0000,0x5800,
  419. X    0x0051,0x8000,0x0000,0xC100,0x005A,0x0000,0x0000,0x0C00,
  420. X    0x001B,0x0000,0x0000,0x4100,0x0041,0x0000,0x0000,0x2D00,
  421. X    0x00B6,0x0000,0x0000,0xB680,0x0002,0x0000,0x0000,0x0000,
  422. X    0x00B4,0x0000,0x0000,0x3680,0x00B6,0x0000,0x0000,0x3680,
  423. X    0x0000,0x0000,0x0000,0x0000,0x00B4,0x0000,0x0000,0x3680,
  424. X    0x0002,0x0000,0x0000,0x0000,0x00B4,0x0000,0x0000,0x3680,
  425. X    0x0082,0x8000,0x0000,0x8680,0x001B,0x0000,0x0000,0x6800,
  426. X    0x0058,0x0000,0x0000,0x0D00,0x0042,0x0000,0x0000,0xE100,
  427. X    0x0019,0x8000,0x0000,0x5C00,0x0024,0x4000,0x0001,0x9A00,
  428. X    0x000C,0x8000,0x0000,0x2200,0x0012,0x4000,0x0001,0xB000,
  429. X    0x0004,0x2000,0x0002,0x4400,0x000B,0x1000,0x0008,0xA000,
  430. X    0x0004,0x8800,0x0014,0x5800,0x0000,0x4400,0x002A,0xA000,
  431. X    0x0002,0xD2C0,0x0895,0x0000,0x0001,0x29B0,0x050A,0x0000,
  432. X    0x0000,0x542B,0x5529,0x0000,0x0000,0x2B8B,0x5091,0x0000,
  433. X    0x0000,0x2360,0x0686,0x0000,0x0000,0x046B,0x5A88,0x0000,
  434. X    0x0000,0x020B,0x5840,0x0000,0x0000,0x00D0,0x0300,0x0000,
  435. X    0x0000,0x000B,0x5800,0x0000,0x0000,0x0000,0x0000,0x0000,
  436. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  437. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  438. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  439. END_OF_FILE
  440. if test 1933 -ne `wc -c <'broken_window2.i'`; then
  441.     echo shar: \"'broken_window2.i'\" unpacked with wrong size!
  442. fi
  443. # end of 'broken_window2.i'
  444. fi
  445. if test -f 'broken_window3.i' -a "${1}" != "-c" ; then 
  446.   echo shar: Will not clobber existing file \"'broken_window3.i'\"
  447. else
  448. echo shar: Extracting \"'broken_window3.i'\" \(1933 characters\)
  449. sed "s/^X//" >'broken_window3.i' <<'END_OF_FILE'
  450. X/* Format_version=1, Width=64, Height=64, Depth=1, Valid_bits_per_item=16
  451. X */
  452. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  453. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0017,0x6C00,0x0000,
  454. X    0x0000,0x01A8,0x92C0,0x0000,0x0000,0x045F,0xFD10,0x0000,
  455. X    0x0000,0x1BE4,0xA3AA,0x0000,0x0000,0x772F,0xFA7A,0x0000,
  456. X    0x0001,0xD9F4,0xA7CE,0xC000,0x0002,0x2BAF,0xFA76,0x4000,
  457. X    0x0003,0xECF4,0xA79D,0xF000,0x000B,0xB7D4,0xA4EE,0xD000,
  458. X    0x001A,0x5CDF,0xFD39,0x3000,0x0035,0xBA74,0xA755,0xFA00,
  459. X    0x002B,0xA7F2,0xC9E2,0xD900,0x00F7,0xD76F,0xFAB5,0xED00,
  460. X    0x00BF,0xAB3A,0xCEC9,0xD380,0x01AD,0xD5FA,0xCB8F,0x6E40,
  461. X    0x0172,0x6F9F,0xF5F6,0xED00,0x0395,0xF6FE,0xDF3D,0x35A0,
  462. X    0x02EC,0xDDD6,0xDB5A,0xCEA0,0x033B,0x3FEF,0xFEFD,0xDA40,
  463. X    0x05D7,0xB7BE,0xECF6,0x6570,0x0973,0xEFFF,0xBFFB,0xA7C8,
  464. X    0x0AAE,0x77F7,0xFBF7,0x3EB0,0x06A5,0xDDFF,0xBFD9,0xF3E8,
  465. X    0x0BE4,0xB7FF,0xF7E7,0xBEA8,0x14BE,0x9FBF,0xFFBF,0xD294,
  466. X    0x0D49,0xF3DF,0xFFFC,0x4958,0x17FD,0x3F7F,0xFFD2,0x7FF4,
  467. X    0x154B,0xFEFF,0xFEFF,0xC954,0x1549,0x25FF,0xFF92,0x4954,
  468. X    0x0FFF,0xFFFF,0xFFFF,0xFFF8,0x154B,0xFFFF,0xFFFF,0xC954,
  469. X    0x17FD,0x3CFF,0xFFFA,0x7FF4,0x0D4B,0xE7FF,0xFF77,0xC958,
  470. X    0x157D,0x3FFF,0xFFEC,0x7954,0x17E4,0xDBEF,0xFFA7,0x9794,
  471. X    0x06A7,0xFFDB,0xEFDC,0xF2F0,0x0ABD,0xDFBF,0xFFFF,0x1EA8,
  472. X    0x0BE6,0x6DF7,0xF7F9,0xA3A8,0x0F5B,0xBEFA,0xFFFE,0x6578,
  473. X    0x0573,0x77FE,0xFF77,0xDD50,0x05AD,0xBBCF,0xFFFE,0x4E50,
  474. X    0x00BB,0xDDD6,0xED6D,0xBBA0,0x02F4,0xEFBE,0xDFB7,0x5CC0,
  475. X    0x03DB,0x77AF,0xF6EB,0xA760,0x003F,0xBBEA,0xD5D5,0x5B40,
  476. X    0x00ED,0x2D3A,0xD76A,0xF600,0x0052,0xD64F,0xFAF5,0xF780,
  477. X    0x004D,0xABD4,0xAAD6,0xEA00,0x002D,0xD474,0xAF6E,0xD600,
  478. X    0x0002,0x5C9F,0xF979,0x6C00,0x000D,0xBB94,0xA576,0xE800,
  479. X    0x0007,0xEDF4,0xA7BD,0xA000,0x0001,0x732F,0xFCFA,0x2000,
  480. X    0x0001,0x19F4,0xA79D,0xC000,0x0000,0x472F,0xFA7A,0x0000,
  481. X    0x0000,0x1AE4,0xA3C2,0x0000,0x0000,0x045F,0xFE10,0x0000,
  482. X    0x0000,0x01A8,0x91C0,0x0000,0x0000,0x0017,0x6C00,0x0000,
  483. X    0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  484. END_OF_FILE
  485. if test 1933 -ne `wc -c <'broken_window3.i'`; then
  486.     echo shar: \"'broken_window3.i'\" unpacked with wrong size!
  487. fi
  488. # end of 'broken_window3.i'
  489. fi
  490. if test -f 'broken_window4.i' -a "${1}" != "-c" ; then 
  491.   echo shar: Will not clobber existing file \"'broken_window4.i'\"
  492. else
  493. echo shar: Extracting \"'broken_window4.i'\" \(1933 characters\)
  494. sed "s/^X//" >'broken_window4.i' <<'END_OF_FILE'
  495. X/* Format_version=1, Width=64, Height=64, Depth=1, Valid_bits_per_item=16
  496. X */
  497. X    0xA898,0x00E4,0x0A00,0x0000,0x0464,0x0062,0x0C00,0x0000,
  498. X    0x0244,0x0027,0x0900,0x0000,0x11A2,0x0023,0x8500,0x0000,
  499. X    0x0A12,0x0073,0x8600,0x00A0,0x248C,0x003F,0xC400,0x0122,
  500. X    0x0209,0x003F,0xC400,0x0908,0x0036,0x000F,0xC601,0x2290,
  501. X    0x00DE,0x1007,0xC78D,0x2920,0x005B,0x2003,0xCA02,0x6E00,
  502. X    0x00A5,0xEC01,0xD69D,0x96C0,0x015B,0xB713,0x9CE7,0x6900,
  503. X    0x02BA,0x5E57,0x8739,0x7680,0x0035,0xBBD7,0xA9CE,0xB680,
  504. X    0x0003,0xA75F,0xFA77,0x5900,0x0037,0xDD7B,0xAFAB,0xA700,
  505. X    0x001F,0xBBAF,0xEAEF,0x5A00,0x0529,0xD7FB,0xBD77,0xD800,
  506. X    0x0332,0xEDDB,0xD7BD,0xE200,0x011D,0xBED7,0xFADA,0x9CB0,
  507. X    0x006B,0x5DBF,0xDFF5,0x6A08,0x263B,0xBEEF,0xEFFE,0xEE04,
  508. X    0x74D6,0x57BF,0xFBF9,0x3506,0x9175,0xBFFD,0xFFDE,0xD7C0,
  509. X    0x78AC,0xEBFF,0xFFFF,0x9E80,0x51EB,0xDFFF,0xFFBC,0xEAC0,
  510. X    0x02B9,0xEDFF,0xFFFB,0x4F80,0xD0AF,0x9FFF,0xFFDE,0x7A80,
  511. X    0x07F2,0xFBFF,0xFFEF,0xA540,0x115F,0xD7FF,0xFFFD,0x3FC0,
  512. X    0x1153,0x3FFF,0xFF7F,0xE540,0xFFFF,0xFFFF,0xFFA5,0x2540,
  513. X    0x0553,0x13FF,0xFFFF,0xFFC0,0x1553,0xFEFF,0xFFFD,0x2540,
  514. X    0x00FF,0x1FFF,0xFFE7,0xFD00,0x0053,0xF7FF,0xFFFF,0x2780,
  515. X    0x005E,0xBBFF,0xFFFB,0xE500,0x00E9,0xCFFF,0xFFEE,0x5E80,
  516. X    0x00AF,0xBDFF,0xFFFB,0xCBA0,0x00B9,0xDFFF,0xFFD6,0x7AF0,
  517. X    0x00C7,0xEBFF,0xBFFD,0x9ED0,0x005C,0xB7DF,0x7DEA,0xF590,
  518. X    0x0073,0x7FF7,0xF7F5,0xBD18,0x00EE,0xBDDB,0x6DBA,0x6E00,
  519. X    0x00B9,0x5F7B,0x6F6D,0xFB80,0x00F6,0xBFAF,0xFABE,0xDC80,
  520. X    0x0191,0xEFAD,0x57BB,0xA700,0x00BA,0xD775,0x5D75,0x5B00,
  521. X    0x03A5,0x75DF,0xF2EE,0xF690,0x07FA,0xEA75,0x4FAD,0xF510,
  522. X    0x07EC,0x769F,0xFA76,0xE940,0x0AF2,0x95A1,0x29C8,0x9480,
  523. X    0x5BE4,0xED71,0x2F10,0x0201,0xDA69,0x3B2E,0xFD04,0x4D00,
  524. X    0xF780,0x4DF9,0x2590,0x9209,0x3F86,0x8347,0xF890,0x0000,
  525. X    0x3E00,0x1AD9,0x2798,0x0000,0x1E00,0x0643,0x2224,0x0000,
  526. X    0x3800,0x2060,0x20B6,0x8000,0x6000,0x020D,0xFE20,0x4000,
  527. X    0x4C00,0x6020,0x1220,0x2000,0x0000,0x4205,0x7800,0x1800,
  528. X    0x0000,0x2080,0x0000,0x1000,0x1000,0x0600,0x0000,0x0000
  529. END_OF_FILE
  530. if test 1933 -ne `wc -c <'broken_window4.i'`; then
  531.     echo shar: \"'broken_window4.i'\" unpacked with wrong size!
  532. fi
  533. # end of 'broken_window4.i'
  534. fi
  535. echo shar: End of shell archive.
  536. exit 0
  537.